import Vue from 'vue'
import Router from 'vue-router'
import Home from '../views/home.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Centent from '../views/centent.vue'

Vue.use(Router)
Vue.use(ElementUI);

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/centent',
      name: 'Centent',
      component: Centent
    }
  ]
})
